Student Solution

-->

"Education is the most powerful weapon which you can use to change the world”
– Nelson Mandela

1 University

4 Courses

2 Subjects

2-5 Quiz: Python Functions and Probability Distributions

2-5 Quiz: Python Functions and Probability Distributions

Q To apply the statistical concepts you have learned, you will also need to build on your knowledge of the Python scripting language gained from previous courses. In this way, you can apply the mathematical concepts by performing statistical tests using Python functions. This quiz will assess your understanding of the Python scripts discussed in this module, as well as your ability to use probability distributions. Note: There are symbols used in Python scripts in the problems and answers for this test. If you are using a screen reader, adjust your verbosity settings to properly read these symbols. To begin this quiz, click on the quiz title to review a summary of details related to this activity regarding number of attempts, time limit, and how your grade will be calculated.

View Related Questions

Solution Preview

Question 1 3 / 3 points For a Normal distribution with mean 0 and standard deviation 1, which of the following Python lines outputs the critical value a if Probability that z is greater than a equals 0.818. A is a constant? Note: a is a constant. Select one. Question options: import scipy.stats as st print(st.norm.pdf(0.818, 0, 1)) import scipy.stats as st print(st.norm.ppf(0.818, 0, 1)) import scipy.stats as st print(st.norm.isf(0.818, 0, 1)) import scipy.stats as st print(st.norm.cdf(0.818, 0, 1))